package com.goldcn.classify.model;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

public class Classify {

    private String clazzid;

//    @NotNull
//    @Max(value=100000)
    private Integer clazzcode;

    @NotNull
    @Size(min=1, max=10)
    private String clazzname;

    @NotNull
    @Max(value=125)
    private Byte clazztype;

    private String clazzremark;

    private String clazzparentid;

    private Integer isstop;

    private Integer level;

    private String clazzCodeName;
    private String other1;
    private String other2;

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column gd_classify.gd_clazzID
     *
     * @return the value of gd_classify.gd_clazzID
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public String getClazzid() {
        return clazzid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column gd_classify.gd_clazzID
     *
     * @param clazzid the value for gd_classify.gd_clazzID
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public void setClazzid(String clazzid) {
        this.clazzid = clazzid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column gd_classify.gd_clazzCode
     *
     * @return the value of gd_classify.gd_clazzCode
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public Integer getClazzcode() {
        return clazzcode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column gd_classify.gd_clazzCode
     *
     * @param clazzcode the value for gd_classify.gd_clazzCode
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public void setClazzcode(Integer clazzcode) {
        this.clazzcode = clazzcode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column gd_classify.gd_clazzName
     *
     * @return the value of gd_classify.gd_clazzName
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public String getClazzname() {
        return clazzname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column gd_classify.gd_clazzName
     *
     * @param clazzname the value for gd_classify.gd_clazzName
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public void setClazzname(String clazzname) {
        this.clazzname = clazzname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column gd_classify.gd_clazzType
     *
     * @return the value of gd_classify.gd_clazzType
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public Byte getClazztype() {
        return clazztype;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column gd_classify.gd_clazzType
     *
     * @param clazztype the value for gd_classify.gd_clazzType
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public void setClazztype(Byte clazztype) {
        this.clazztype = clazztype;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column gd_classify.gd_clazzRemark
     *
     * @return the value of gd_classify.gd_clazzRemark
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public String getClazzremark() {
        return clazzremark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column gd_classify.gd_clazzRemark
     *
     * @param clazzremark the value for gd_classify.gd_clazzRemark
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public void setClazzremark(String clazzremark) {
        this.clazzremark = clazzremark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column gd_classify.gd_clazzParentID
     *
     * @return the value of gd_classify.gd_clazzParentID
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public String getClazzparentid() {
        return clazzparentid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column gd_classify.gd_clazzParentID
     *
     * @param clazzparentid the value for gd_classify.gd_clazzParentID
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public void setClazzparentid(String clazzparentid) {
        this.clazzparentid = clazzparentid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column gd_classify.gd_isStop
     *
     * @return the value of gd_classify.gd_isStop
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public Integer getIsstop() {
        return isstop;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column gd_classify.gd_isStop
     *
     * @param isstop the value for gd_classify.gd_isStop
     *
     * @mbggenerated Mon May 09 09:27:03 CST 2016
     */
    public void setIsstop(Integer isstop) {
        this.isstop = isstop;
    }

    public String getClazzCodeName() {
        return clazzCodeName;
    }

    public void setClazzCodeName(String clazzCodeName) {
        this.clazzCodeName = clazzCodeName;
    }

    public String getOther1() {
        return other1;
    }

    public void setOther1(String other1) {
        this.other1 = other1;
    }

    public String getOther2() {
        return other2;
    }

    public void setOther2(String other2) {
        this.other2 = other2;
    }
}